package com.example.research.repository;

import com.example.research.model.Teacher;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;

public interface TeacherRepository extends JpaRepository<Teacher, Integer> {
    List<Teacher> findByDepartmentDeptId(Integer deptId);
}